package com.molichuxing;

import com.molichuxing.framework.core.RootLauncher;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @prouect_name: order-service
 * @class_name: Launcher
 * @description: linux守护进程
 * @author: 林亿建
 * @create_date: 2017年08月07日
 * @modify_date: 2017年08月07日
 **/
public class Launcher extends RootLauncher {

  private static final Logger logger = LoggerFactory.getLogger(Launcher.class);

  /**
   * 启动服务
   *
   * @throws Exception
   */
  @Override
  public void start() throws Exception {
    Provider.startService();
    logger.info("Order-service服务已经启动");
  }
}
